/* Copyright 2001,2002,2003 NAH6 BV
 * All Rights Reserved
 *
 *  $Header: /var/lib/cvs/secphone/ui/windows/nhRegistry.h,v 1.3 2003/11/21 12:39:24 itsme Exp $
 *
 *
 */


#ifndef __NHREGISTRY_H__
#include <windows.h>
#include "tchar.h"

bool CreateRegistryPath(HKEY hive, const TCHAR *path, HKEY& hkey);
bool SetRegistryString(HKEY hive, const TCHAR *path, const TCHAR *name, const TCHAR *value);
bool SetRegistryBoolean(HKEY hive, const TCHAR *path, const TCHAR *name, bool bValue);
bool SetRegistryDword(HKEY hive, const TCHAR *path, const TCHAR *name, DWORD value);
bool GetRegistryString(HKEY hive, const TCHAR *path, const TCHAR *name, TCHAR *strbuf, int maxlen);
bool GetRegistryBoolean(HKEY hive, const TCHAR *path, const TCHAR *name, bool *pBool);
bool GetRegistryDword(HKEY hive, const TCHAR *path, const TCHAR *name, DWORD *pValue);

#define __NHREGISTRY_H__
#endif
